package com.hnx.admin.aurora.system.mapper.roleMenu;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface RoleMenuMapper {
    @Delete("delete from sys_role_menu where role_id=#{roleId}")
    int removeRoleMenu(String roleId);
    int insertRoleMenu(@Param("roleId") String roleId,@Param("menuIds") String[] menuIds);
    int removeRolesMenu(String[] roleIds);
}
